
<%@ page import="com.syz.web.pojo.Student" %>
<%@ page import="com.syz.web.pojo.Course" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>课程</title>
</head>
<body>
    <%
        Course course = (Course) request.getAttribute("course");
    %>
    <form action="<%=request.getContextPath()%>/course?method=update" method="post">
        <input type="hidden" name="id" value="<%=course.getId()%>"/>
        课程：<input type="text" name="name" value="<%=course.getName()%>"/><br/>
        学分：<input type="text" name="credit" value="<%=course.getCredit()%>"/><br/>
        <input type="submit" value="修改"/>
    </form>
</body>
</html>
